﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Ssb.PhysicsLogic
{
    public class ClingBubble
        : Bubble
    {
        public bool isClinging { get; protected set; }
        public Fighter clingingFighter { get; protected set; }

        public ClingBubble(Vector2 location, int radius, Game game)
            : base(location, radius, game)
        {

        }

        public void ClingFighter(ref Fighter ftocling)
        {
            clingingFighter = ftocling;
            isClinging = true;
        }

        public void UnCling()
        {
            isClinging = false;
            clingingFighter = null;
        }
    }
}
